package com.wenwu.dao;

import com.wenwu.common.bean.RelicsBasic;
import com.wenwu.common.bean.RelicsCultureFeatures;
import com.wenwu.common.bean.RelicsCultureFeaturesExample;
import com.wenwu.common.bean.RelicsHumanityEnvironment;
import com.wenwu.common.page.PaginationVO;

import java.sql.SQLException;
import java.util.List;

import org.apache.ibatis.annotations.Param;

public interface RelicsCultureFeaturesMapper {
    int countByExample(RelicsCultureFeaturesExample example);

    int deleteByExample(RelicsCultureFeaturesExample example);

    int deleteByPrimaryKey(Integer cultureId);

    int insert(RelicsCultureFeatures record);

    int insertSelective(RelicsCultureFeatures record);

    List<RelicsCultureFeatures> selectByExample(RelicsCultureFeaturesExample example);

    RelicsCultureFeatures selectByPrimaryKey(Integer cultureId);

    int updateByExampleSelective(@Param("record") RelicsCultureFeatures record, @Param("example") RelicsCultureFeaturesExample example);

    int updateByExample(@Param("record") RelicsCultureFeatures record, @Param("example") RelicsCultureFeaturesExample example);

    int updateByPrimaryKeySelective(RelicsCultureFeatures record);

    int updateByPrimaryKey(RelicsCultureFeatures record);
    
    //---------------------------------------------
    
    
    RelicsCultureFeatures selectObjByKey(@Param("basicId") Integer basicId)
			throws SQLException;

	int selectTotalRecord(@Param("relicsCultureFeatures") RelicsCultureFeatures relicsCultureFeatures)
			throws SQLException;

	List<RelicsCultureFeatures> selectList(@Param("relicsCultureFeatures") RelicsCultureFeatures relicsCultureFeatures, @Param("pageVo")PaginationVO pageVo)
			throws SQLException;
	
	int deleteByKey(List<?> keys) throws SQLException;
}